﻿using Xtensive.Orm;

namespace UnboundStructures.Model
{
    public class Address : Structure
    {
        [Field]
        public string Country { get; set; }

        [Field]
        public string State { get; set; }

        [Field]
        public string City { get; set; }

        [Field]
        public string Zip { get; set; }

        [Field]
        public string Street1 { get; set; }

        [Field]
        public string Street2 { get; set; }

        // Session must be provided in constructor to create unbound structures
        public Address(Session session) :
            base(session) {}
    }
}